
const {
  information
} = require('../../../api/index')
Page({

  /**
   * 页面的初始数据
   */
  data: {
      content:"",
      time:""
  },

  /**
   * 生命周期函数--监听页面加载
   */

  onLoad(options) {
    console.log("options.time",options);
   this.setData({
    content:options.content,
    time: options.time
   })

   if(options.IsRead == "true"){
        return
   }
   information.bulkreadmessage({
    Ids:[
      options.id
    ]
   })
  },

 


})